package com.sys.console.pojo;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

import com.sys.object.common.page.Page;


public class SysRoleLinkAuthorithDto extends Page {
    private Integer rid;

    private String tag;
    
    private List<String> list;
    
    private Set<String> authSet = new HashSet<String>();

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public List<String> getList() {
		return list;
	}

	public void setList(List<String> list) {
		this.list = list;
	}

	public Set<String> getAuthSet() {
		if(this.list!=null && this.list.size()>0){
			for(String s:this.list){
				authSet.add(s);
			}
		}
		return authSet;
	}

	public void setAuthSet(Set<String> authSet) {
		this.authSet = authSet;
	}
    
}